package com.dog.basics.common.photooss.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @program: business
 * @description: 阿里云 - OSS 配置
 * @author: Guo
 * @create: 2020-02-06 15:29
 **/

@Data
@Configuration
@PropertySource("classpath:aliyun.properties")
@ConfigurationProperties(prefix = "aliyun")
public class AliyunOSSProperties {
	/**
	 * 服务器地点
	 */
	private String region;
	/**
	 * 服务器地址
	 */
	private String endpoint;
	/**
	 * OSS身份id
	 */
	private String accessKeyId;
	/**
	 * 身份密钥
	 */
	private String accessKeySecret;

	/**
	 * App文件bucketName
	 */
	private String bucketApp;
	/**
	 * App包文件地址前缀
	 */
	private String domainApp;

}
